package com.example.prison.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.prison.entity.AreaManagement;
import com.example.prison.entity.vo.AreaManagementVO;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
* @author jiang
* @description 针对表【area_management】的数据库操作Service
* @createDate 2023-05-26 17:15:28
*/
public interface AreaManagementService extends IService<AreaManagement> {

    PageInfo<AreaManagement> getAreaRealtimeState(int pageNumber, int pageSize);

    PageInfo<AreaManagement> get(int pageNumber, int pageSize,
                                 String defenseSection,String sentryPost,String defenseSectionPoint,String alarmStatus);

    PageInfo<AreaManagementVO> getDefenceArea(int pageNumber, int pageSize);

    int add(AreaManagement area);

    Integer delete(Integer[] ids);

    int updateArea(AreaManagement area, Integer id);

    AreaManagement getById(Integer id);

    List<AreaManagement> list();

    int updateSetting(String setting, String moduleAddress);

}
